package spec.lijunyao.unit4.clazz;

import java.net.SocketPermission;

public class StringBufferTest {
    public static void main(String[] args) {
        StringBuffer sb1=new StringBuffer();
        System.out.println(sb1.length());
        sb1.append("ABCDE\n");
        System.out.println(sb1.length());
        sb1.insert(2,"F");
        System.out.println(sb1);
        System.out.println("Hellow");
        sb1.append("HIJKLMN");
        sb1.delete(3,5);
        System.out.println(sb1);
    }
}
